Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces automated testing to the project by adding Vitest as the testing framework and integrating test execution into both the development workflow and continuous integration. The changes ensure that tests are run before code is pushed and during CI, and all necessary dependencies for Vitest and its ecosystem are included.
Testing integration and automation:
testscript using Vitest topackage.json, and included Vitest as a dev dependency. [1] [2].github/workflows/verify.yamlto run tests during the verification job..husky/pre-pushto automatically run tests before code is pushed.Dependency management:
pnpm-lock.yamlto add Vitest and all related packages (such as@vitest/expect,@vitest/mocker,@vitest/runner,@vitest/snapshot,@vitest/utils, and others required for the Vitest ecosystem). [1] [2] [3] [4] [5] [6] [7]@types/chai,chai,deep-eql, etc.) to support testing. [1] [2] [3]These updates collectively enable a robust, automated testing workflow for the project.